<?php
/* @var $this UserController */
/* @var $model User */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'user_id'); ?>
		<?php echo $form->textField($model,'user_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'username'); ?>
		<?php echo $form->textField($model,'username',array('size'=>60,'maxlength'=>128)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'user_email'); ?>
		<?php echo $form->textField($model,'user_email',array('size'=>60,'maxlength'=>64)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'user_sex'); ?>
		<?php //echo $form->textField($model,'user_sex'); ?>
		<?php echo $form->dropDownList($model,'user_sex',array('>0'=>'不限',1=>'男',2=>'女',3=>'保密')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'user_qq'); ?>
		<?php echo $form->textField($model,'user_qq',array('size'=>32,'maxlength'=>32)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'user_tel'); ?>
		<?php echo $form->textField($model,'user_tel',array('size'=>32,'maxlength'=>32)); ?>
	</div>
	<!--
	<div class="row">
		<?php echo $form->label($model,'user_introduce'); ?>
		<?php echo $form->textArea($model,'user_introduce',array('rows'=>6, 'cols'=>50)); ?>
	</div>
	-->
	<div class="row buttons">
		<?php echo CHtml::submitButton('搜索'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->